{% assign global = theme_config.global %}
<style>


    {% if global.title_font.font_face %}
    {{ global.title_font.font_face }}
    {% endif %}


    {% if global.general_font.font_face %}
    {{ global.general_font.font_face }}
    {% endif %}
    
    :root {
        --general_layout_width: {{global.general_layout_width}}px;
        --general_layout_spacing: 80px;
        --button_border_radius: {{ global.button_border_radius }}px;
        --full_container_padding: {{ global.full_container_padding }}px;
        --page_background_color: {{ global.page_background_color }};
        --title_color: {{ global.title_color }};
        --main_color: {{ global.main_color }};
        --detail_color: {{ global.detail_color }};
        --buying_parice_color: {{ global.buying_parice_color }};
        --original_price_color: {{ global.original_price_color }};
        --discount_tag_bg: {{ global.discount_tag_bg }};
        --discount_tag_color: {{ global.discount_tag_color }};
        --main_button_bg: {{ global.main_button_bg }};
        --main_button_color: {{ global.main_button_color }};
        --secondary_button_bg: {{ global.secondary_button_bg }};
        --secondary_button_color: {{ global.secondary_button_color }};
        --title_font_family: {{ global.title_font.family | default: "Arial" }};
        --general_font_family: {{ global.general_font.family | default: "Arial" }};
        --title_font_size: {{ global.title_font_size }}px;
        --general_font_size: {{ global.general_font_size }}px;
        --product_font_size: {{ global.product_font_size }}px;
        --big_product_font_size: {{ global.big_product_font_size }}px;
        --title_letter_spacing: {{ global.title_letter_spacing }}px;
        --nav_letter_spacing: {{ global.nav_letter_spacing }}px;

        --title_font_style: {{ global.title_font.style | default: "normal" }};
        --title_font_weigth: {{ global.title_font.weight | default: 400 }};


        --general_font_style: {{ global.general_font.style | default: "normal" }};
        --general_font_weigth: {{ global.general_font.weight | default: 400 }};

        --general_line_height: 1.5;
        --wap_title_scale: 0.7;
        --title_margin_bottom_scale: 0.75;
    }
</style>
